package com.itheima.dao;

import com.itheima.domain.QuestionItem;

import java.util.List;

public interface QuestionItemDao {
    QuestionItem findById(String id) ;

   List<QuestionItem> findAll() ;

   void save(QuestionItem questionItem);

    void update(QuestionItem questionItem);



    List<QuestionItem> findAll(String questionId);

    void delete(String id);
}
